package xmu.crms.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import xmu.crms.entity.Location;

import java.math.BigInteger;

/**
 * @author status200
 * @date 2018/1/1.
 */
@Mapper
@Component
public interface LocationMapper {

    /**
     * 根据classId和seminarId查询某节课的签到状态
     *
     * @param classId
     * @param seminarId
     * @return
     */
    Location getLocationByClassIdAndSeminarId(@Param("classId")BigInteger classId,
                                              @Param("seminarId") BigInteger seminarId);
}
